package com.sgcc.statistics.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sgcc.common.core.annotation.Excel;
import com.sgcc.common.core.web.domain.BaseEntity;

/**
 * 数字化服务客户应用规模对象 o_digital_scale
 * 
 * @author sgcc
 * @date 2021-03-28
 */
public class ODigitalScale extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date createDate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date updateDate;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String remarks;

    /** 逻辑删除标记（0：显示；1：隐藏） */
    @Excel(name = "逻辑删除标记", readConverterExp = "0=：显示；1：隐藏")
    private String delFlag;

    /** 供电单位 */
    @Excel(name = "供电单位")
    private String orgNo;

    /** 用户次月留存率 */
    @Excel(name = "用户次月留存率")
    private BigDecimal keepRate;

    /** 用户次月留存环比增长 */
    @Excel(name = "用户次月留存环比增长")
    private BigDecimal keepGrow;

    /** 月活跃率 */
    @Excel(name = "月活跃率")
    private BigDecimal activeRate;

    /** 月活跃环比增长 */
    @Excel(name = "月活跃环比增长")
    private BigDecimal activeGrow;

    /** 实名认证率 */
    @Excel(name = "实名认证率")
    private BigDecimal certRate;

    /** 实名认证环比增长 */
    @Excel(name = "实名认证环比增长")
    private BigDecimal certGrow;

    /** 统计时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "统计时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date statTime;

    private boolean county;//入参
    private String orgName;
    private BigDecimal keepCompRate; //用户次月留存完成率
    private BigDecimal activeCompRate;//月活跃完成率
    private BigDecimal certCompRate;//实名认证完成率

    private List<String> list;//查询入参
    private String keepRateStr;		// 用户次月留存率百分数
    private String keepGrowStr;		// 用户次月留存环比增长百分数
    private String activeRateStr;		// 月活跃率百分数
    private String activeGrowStr;		// 月活跃环比增长百分数
    private String certRateStr;		// 实名认证率百分数
    private String certGrowStr;		// 实名认证环比增长百分数
    private String keepCompRateStr; //用户次月留存完成率百分数
    private String activeCompRateStr;//月活跃完成率百分数
    private String certCompRateStr;//实名认证完成率百分数


    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setOrgNo(String orgNo) 
    {
        this.orgNo = orgNo;
    }

    public String getOrgNo() 
    {
        return orgNo;
    }
    public void setKeepRate(BigDecimal keepRate) 
    {
        this.keepRate = keepRate;
    }

    public BigDecimal getKeepRate() 
    {
        return keepRate;
    }
    public void setKeepGrow(BigDecimal keepGrow) 
    {
        this.keepGrow = keepGrow;
    }

    public BigDecimal getKeepGrow() 
    {
        return keepGrow;
    }
    public void setActiveRate(BigDecimal activeRate) 
    {
        this.activeRate = activeRate;
    }

    public BigDecimal getActiveRate() 
    {
        return activeRate;
    }
    public void setActiveGrow(BigDecimal activeGrow) 
    {
        this.activeGrow = activeGrow;
    }

    public BigDecimal getActiveGrow() 
    {
        return activeGrow;
    }
    public void setCertRate(BigDecimal certRate) 
    {
        this.certRate = certRate;
    }

    public BigDecimal getCertRate() 
    {
        return certRate;
    }
    public void setCertGrow(BigDecimal certGrow) 
    {
        this.certGrow = certGrow;
    }

    public BigDecimal getCertGrow() 
    {
        return certGrow;
    }
    public void setStatTime(Date statTime) 
    {
        this.statTime = statTime;
    }

    public Date getStatTime() 
    {
        return statTime;
    }

    public String getKeepRateStr() {
        return keepRateStr;
    }

    public void setKeepRateStr(String keepRateStr) {
        this.keepRateStr = keepRateStr;
    }

    public String getKeepGrowStr() {
        return keepGrowStr;
    }

    public void setKeepGrowStr(String keepGrowStr) {
        this.keepGrowStr = keepGrowStr;
    }

    public String getActiveRateStr() {
        return activeRateStr;
    }

    public void setActiveRateStr(String activeRateStr) {
        this.activeRateStr = activeRateStr;
    }

    public String getActiveGrowStr() {
        return activeGrowStr;
    }

    public void setActiveGrowStr(String activeGrowStr) {
        this.activeGrowStr = activeGrowStr;
    }

    public String getCertRateStr() {
        return certRateStr;
    }

    public void setCertRateStr(String certRateStr) {
        this.certRateStr = certRateStr;
    }

    public String getCertGrowStr() {
        return certGrowStr;
    }

    public void setCertGrowStr(String certGrowStr) {
        this.certGrowStr = certGrowStr;
    }

    public String getKeepCompRateStr() {
        return keepCompRateStr;
    }

    public void setKeepCompRateStr(String keepCompRateStr) {
        this.keepCompRateStr = keepCompRateStr;
    }

    public String getActiveCompRateStr() {
        return activeCompRateStr;
    }

    public void setActiveCompRateStr(String activeCompRateStr) {
        this.activeCompRateStr = activeCompRateStr;
    }

    public String getCertCompRateStr() {
        return certCompRateStr;
    }

    public void setCertCompRateStr(String certCompRateStr) {
        this.certCompRateStr = certCompRateStr;
    }

    public boolean isCounty() {
        return county;
    }

    public void setCounty(boolean county) {
        this.county = county;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public BigDecimal getKeepCompRate() {
        return keepCompRate;
    }

    public void setKeepCompRate(BigDecimal keepCompRate) {
        this.keepCompRate = keepCompRate;
    }

    public BigDecimal getActiveCompRate() {
        return activeCompRate;
    }

    public void setActiveCompRate(BigDecimal activeCompRate) {
        this.activeCompRate = activeCompRate;
    }

    public BigDecimal getCertCompRate() {
        return certCompRate;
    }

    public void setCertCompRate(BigDecimal certCompRate) {
        this.certCompRate = certCompRate;
    }

    public List<String> getList() {
        return list;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("updateBy", getUpdateBy())
            .append("updateDate", getUpdateDate())
            .append("remarks", getRemarks())
            .append("delFlag", getDelFlag())
            .append("orgNo", getOrgNo())
            .append("keepRate", getKeepRate())
            .append("keepGrow", getKeepGrow())
            .append("activeRate", getActiveRate())
            .append("activeGrow", getActiveGrow())
            .append("certRate", getCertRate())
            .append("certGrow", getCertGrow())
            .append("statTime", getStatTime())
            .toString();
    }
}
